﻿@using Fierce.MvcExtend.Controls.Manage
@model Fierce.Entity.Basic.BasicMenu

<form id="dform" method="post" class="document-form-example">
    <div class="document-row">
        <label class="document-label">菜单图标</label>
        <input id="iptIcon" name="Icon" value="@Model.Icon" />
        <span class="document-info">显示在树形菜单中的菜单图标（当前菜单模式暂不显示）。</span>
    </div>
    <div class="document-row">
        <label class="document-label">选择父级菜单</label>
        <input id="iptPid" name="Pid" value="@Model.Pid" />
    </div>
    <div class="document-row">
        <label class="document-label">菜单名称</label>
        <input name="Name" class="easyui-textbox" data-options="required:true" value="@Model.Name" />
    </div>
    <div class="document-row">
        <div class="easyui-radio">
            <label class="document-label document-label-radio">菜单类型</label>
            @Easyui.RadioItem("Type", "null", "无", Model.Type)
            @Easyui.RadioItem("Type", "href", "页面", Model.Type)
            @Easyui.RadioItem("Type", "iframe", "网页", Model.Type)
            @Easyui.RadioItem("Type", "embed", "内嵌", Model.Type)
            @Easyui.RadioItem("Type", "dialog", "弹窗", Model.Type)
        </div>
        <span class="document-info document-zero-top">具体表示菜单点击后的呈现类型。</span>
    </div>
    <div class="document-row document-row-flex">
        <div class="document-cell">
            <label class="document-label">模块标记</label>
            <input name="Module" class="easyui-textbox" value="@Model.Module" />
            <span class="document-info">区分各模块之间的区域。</span>
        </div>
        <div class="document-cell-space"></div>
        <div class="document-cell">
            <label class="document-label">匹配标记</label>
            <input name="Tag" class="easyui-textbox" value="@Model.Tag" />
            <span class="document-info">主要用于脚本对象的匹配标记。</span>
        </div>
    </div>
    <div class="document-row document-zero-bottom">
        <label class="document-label">连接地址</label>
        <input name="Link" class="easyui-textbox" value="@Model.Link" />
    </div>
    <input type="hidden" name="ID" value="@Model.ID" />
    <input name="Path" type="hidden" value="@Model.Path" />
    <input type="hidden" name="Sequence" value="@Model.Sequence" />
    <input type="hidden" name="InsertTime" value="@Model.InsertTime" />
    <input name="IsEnabled" type="hidden" value="@Model.IsEnabled.ToString()" />
</form>